﻿#include "wx/wx.h"
#include "wx/xrc/xmlres.h"

#include "DerivedDialog.h"

class MyApp :public wxApp {
public:
	bool OnInit() override;

private:
	DerivedDialog* dlg;

public:
};
wxIMPLEMENT_APP(MyApp);

bool MyApp::OnInit() {
	if (!wxApp::OnInit())
		return false;

	wxXmlResource::Get()->InitAllHandlers();
	InitXmlResource();

	dlg = new DerivedDialog();
	dlg->ShowModal();
	dlg->Destroy();

	return true;
}
